import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '代理地址',
    align: "center",
    dataIndex: 'url'
  },
  {
    title: '用户名',
    align: "center",
    dataIndex: 'username'
  },
  {
    title: '密码',
    align: "center",
    dataIndex: 'password'
  },
  {
    title: '代理类型',
    align: "center",
    dataIndex: 'type_dictText'
  },
];

// 高级查询数据
export const superQuerySchema = {
  url: {title: '代理地址',order: 0,view: 'text', type: 'string',},
  username: {title: '用户名',order: 1,view: 'text', type: 'string',},
  password: {title: '密码',order: 2,view: 'text', type: 'string',},
  type: {title: '代理类型',order: 3,view: 'list', type: 'string',dictCode: 'amazon_proxy',},
};
